package com.wsoft.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wsoft.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 系统配置表
 * </p>
 *
 * @author kyle
 * @since 2024年09月01日 08:51:54
 */
@Getter
@Setter
@TableName("ts_config")
@Schema(name = "TsConfigEntity", description = "系统配置表")
public class TsConfigEntity extends BaseEntity {

    @Schema(description = "logo图")
    @TableField("sys_logo")
    private String sysLogo;

    @Schema(description = "系统名称")
    @TableField("sys_name")
    private String sysName;

    @Schema(description = "集团名称")
    @TableField("org_name")
    private String orgName;

    @Schema(description = "登录背景图")
    @TableField("login_bg")
    private String loginBg;

    @Schema(description = "登录是否使用验证码")
    @TableField("login_is_code")
    private Integer loginIsCode;

    @Schema(description = "其他配置json")
    @TableField("value_json")
    private String valueJson;

    @Schema(description = "是否允许单位自定义")
    @TableField("is_org_init")
    private Integer isOrgInit;

    @Schema(description = "是否允许个人自定义")
    @TableField("is_user_init")
    private Integer isUserInit;

    @Schema(description = "oss文件配置")
    @TableField("file")
    private String file;
}
